home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / dev / amos / AMOS1197.lzh / AMOSLIST / 000137_amos-request@svcs1.digex.net_Wed Nov 12 13:48:25 1997.msg < prev    next >
Internet Message Format  |  1997-12-04  |  4KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id NAA29499
  3.     for <mcox@access.digex.net>; Wed, 12 Nov 1997 13:48:22 -0500 (EST)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id JAA05226
  6.     for amos-out; Wed, 12 Nov 1997 09:39:16 -0500 (EST)
  7. Received: from mail4.access.digex.net (mail4.access.digex.net [205.197.247.2])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id JAA05223
  9.     for <amos-list@svcs1.digex.net>; Wed, 12 Nov 1997 09:39:15 -0500 (EST)
  10. Received: from relay2.inet.tele.dk (relay2.inet.tele.dk [194.182.149.111])
  11.     by mail4.access.digex.net (8.8.5/8.8.5) with SMTP id JAA11081
  12.     for <amos-list@access.digex.net>; Wed, 12 Nov 1997 09:38:53 -0500 (EST)
  13. Received: (qmail 13266 invoked from network); 12 Nov 1997 13:16:33 -0000
  14. Received: from post8.tele.dk (194.239.134.172)
  15.   by relay2.inet.tele.dk with SMTP; 12 Nov 1997 13:16:33 -0000
  16. Received: from post8.tele.dk ([194.239.180.99]) by post8.tele.dk
  17.           (Netscape Mail Server v2.02) with SMTP id AAA41652;
  18.           Wed, 12 Nov 1997 14:16:24 +0100
  19. From: Jens Vang Petersen <top_cat@post8.tele.dk>
  20. To: "John F. Rodgers" <jfr@psln.com>, amos-list@access.digex.net
  21. Date: Wed, 12 Nov 1997 14:03:28 +0100
  22. Message-ID: <yam7255.1450.1746491920@post8.tele.dk>
  23. In-Reply-To: <3466DE62.4A5F@psln.com>
  24. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  25. Subject: Re: Permanent GUI Bank
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. On 10-Nov-97, John F. Rodgers smashed the keyboard with:
  32. >Hello,
  33.  
  34. >I've been leaning the GUI extension (it's great, Pietro), and I've come
  35. >to the point where I want to save a GUI bank as a permanent data bank
  36. >along with the program so I don't have to load a separate .abk file at
  37. >runtime.
  38.  
  39. >I've tried everything I can think of, including loading the .abk,
  40. >reserving as data another bank with the length taken from the GUI bank,
  41. >and copying the contents from the GUI bank into the new data bank.  I
  42. >then ran a test to assure that both banks were the same, byte for byte. 
  43. >It didn't work.  When attempting to Gui Open then new bank (which is
  44. >byte-for-byte identical to the GUI bank I loaded from disk, the program
  45. >says "Not a GUI bank at line such and such."
  46.  
  47. >Can anyone help me?  The AMOS manual and online help files both are
  48. >fairly lacking in detail as to the exact procedure for creating a
  49. >permanent bank.  Unless it really is that simple to do, and something is
  50. >going wrong with the newly created bank.
  51.  
  52. Is IS that simple to create a permanent bank, well my best shot is that
  53. either the GUI-extension checks to see if it's a permanent bank, if that's
  54. the problem there's absolutely nothing to do...
  55.  
  56. Number two is more likely, The GUI-extension checks for the NAME of the
  57. bank, if so then you have to copy the name from the old bank to the new one
  58. (the name is in Start(bnk)-8 and is 8 bytes long)...
  59.  
  60. An easier way is to change the original bank to a permanent one, this can
  61. either be done with the AMCAF extension, or you can do this:
  62. Doke Start(bnk)-12,1 (For FAST-DATA bank)
  63. or
  64. Doke Start(bnk)-12,3 (For CHIP-DATA)
  65. or
  66. Bset 0,Start(bnk)-11 (Makes a work bank permanent)
  67.  
  68. Just a note:
  69. Bclr 0,Start(bnk)-11 (Will make a permanent bank -> work bank)
  70.  
  71. Hope it helps...
  72.  
  73. -- 
  74. Happy greetings, Yours..
  75. __________________________________________________________________________
  76.  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  77.   / / / /_/ / ____/  \ \___\  __ \ \ \  Nyvej 8, DK-4450 Jyderup, Denmark
  78.  /_/ /_____/_/        \_____\_\ \_\ \_\             top_cat@post8.tele.dk
  79. --------------------------------------------------------------------------
  80.  The computer is mightier than the pen, the sword, and the programmer.
  81. --------------------------------------------------------------------------
  82.